<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable" prefix="cust"%>
<f:loadBundle var="res" basename="Resources"/>
<f:view>
  <afh:html id="html1">
    <afh:head title="Inicio" id="head1">
      <meta http-equiv="Content-Type"
            content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body id="body1">
      <af:messages id="messages1"/>
      <h:form id="form1">
        <af:page id="page1"
                 value="#{AppMenu.model}" var="item">
          <f:facet name="branding">
            <af:objectImage source="/images/logo2.jpg"
                            id="objectImage1"/>
          </f:facet>
          <f:facet name="brandingApp"/>
          <f:facet name="appCopyright"/>
          <f:facet name="appPrivacy"/>
          <f:facet name="appAbout"/>
          <f:facet name="nodeStamp">
            <af:commandMenuItem text="#{res[item.labelKey]}" type="#{item.type}"
                                action="#{item.getOutcome}" icon="#{item.icon}"
                                rendered="#{item.rendered}"
                                disabled="#{item.disabled}"                                
                                id="commandMenuItem2"
								immediate="true"/>
          </f:facet>
          <f:facet name="infoUser">
            <h:panelGroup id="panelGroup1">
              <af:outputText value="#{Globales.tipoUsuario}:"
                             id="outputText5"
                             inlineStyle="font-size:small; font-weight:bold;"/>
              <af:objectSpacer width="10" height="10"
                               id="os2"/>
              <af:outputFormatted value="#{Globales.userName}"
                                  id="outputFormatted1"
                                  inlineStyle="color:rgb(0,107,165); font-size:small;"/>
              <af:objectSpacer width="10" height="10"
                               id="os1"/>
              <af:outputText value="- "
                             id="outputText6"/>
              <af:outputFormatted value="#{Globales.nombres}"
                                  id="outputFormatted2"
                                  inlineStyle="color:rgb(0,107,165); font-size:small; font-style:italic;"/>
              <af:objectSpacer width="10" height="10"
                               id="os3"/>
              <af:outputFormatted value="#{Globales.apellidos}"
                                  id="outputFormatted3"
                                  inlineStyle="color:rgb(0,107,165); font-size:small; font-style:italic;"/>
              <af:objectSpacer width="10" height="10"
                               id="os4"/>
            </h:panelGroup>
          </f:facet>
          <af:outputText value="Administrar Tipos de Cursos"
                         binding="#{backing_app_nuevoTipoCurso.outputText1}"
                         id="outputText1"
                         inlineStyle="font-size: 120%; font-weight:bold;"/>
          <af:panelGroup binding="#{backing_app_nuevoTipoCurso.panelGroup3}"
                         id="panelGroup3"
                         rendered="#{ !bindings.mostrar.inputValue }">
            <af:commandButton text="Crear Tipo de Curso"
                              binding="#{backing_app_nuevoTipoCurso.commandButton3}"
                              id="commandButton3"
                              action="#{backing_app_nuevoTipoCurso.commandButton3_action}"/>
            <af:table value="#{bindings.tipoCursoView1.collectionModel}"
                      var="row" rows="#{bindings.tipoCursoView1.rangeSize}"
                      first="#{bindings.tipoCursoView1.rangeStart}"
                      emptyText="#{bindings.tipoCursoView1.viewable ? \'No rows yet.\' : \'Access Denied.\'}"
                      binding="#{backing_app_nuevoTipoCurso.table2}"
                      id="table2">
              <af:column sortProperty="TipoCurso" sortable="false"
                         headerText="#{bindings.tipoCursoView1.labels.TipoCurso}"
                         binding="#{backing_app_nuevoTipoCurso.column2}"
                         id="column2">
                <af:commandLink action="#{backing_app_nuevoTipoCurso.commandLink1_action}"
                                text="#{row.TipoCurso}"
                                disabled="#{!bindings.setCurrentRowWithKey.enabled}"
                                binding="#{backing_app_nuevoTipoCurso.commandLink1}"
                                id="commandLink1"/>
              </af:column>
              <af:column sortProperty="TipoCurso" sortable="false"
                         binding="#{backing_app_nuevoTipoCurso.column3}"
                         id="column3">
                <af:commandLink
                                action="#{backing_app_nuevoTipoCurso.commandLink3_action}"
                                text="Borrar"
                                disabled="#{!bindings.setCurrentRowWithKey.enabled}"
                                binding="#{backing_app_nuevoTipoCurso.commandLink3}"
                                id="commandLink3"/>
              </af:column>
            </af:table>
          </af:panelGroup>
          <af:panelGroup binding="#{backing_app_nuevoTipoCurso.panelGroup2}"
                         id="panelGroup2"
                         rendered="#{bindings.mostrar.inputValue }">
            <af:panelForm binding="#{backing_app_nuevoTipoCurso.panelForm1}"
                          id="panelForm1">
              <af:inputText value="#{bindings.TipoCurso.inputValue}"
                            label="#{bindings.TipoCurso.label}"
                            required="#{bindings.TipoCurso.mandatory}"
                            columns="#{bindings.TipoCurso.displayWidth}"
                            binding="#{backing_app_nuevoTipoCurso.inputText1}"
                            id="inputText1">
                <af:validator binding="#{bindings.TipoCurso.validator}"/>
              </af:inputText>
              <af:panelHorizontal binding="#{backing_app_nuevoTipoCurso.panelHorizontal1}"
                                  id="panelHorizontal1">
                <af:commandButton
                                  text="Guardar y Regresar"
                                  disabled="false"
                                  binding="#{backing_app_nuevoTipoCurso.commandButton1}"
                                  id="commandButton1"
                                  action="#{backing_app_nuevoTipoCurso.commandButton1_action}"/>
                <af:commandButton
                                  text="Guardar y Crear Otro"
                                  disabled="false"
                                  binding="#{backing_app_nuevoTipoCurso.commandButton4}"
                                  id="commandButton4"
                                  action="#{backing_app_nuevoTipoCurso.commandButton4_action}"/>
                <af:commandButton
                                  text="Cancelar"
                                  disabled="false"
                                  immediate="true"
                                  binding="#{backing_app_nuevoTipoCurso.commandButton2}"
                                  id="commandButton2"
                                  action="#{backing_app_nuevoTipoCurso.commandButton2_action}">
                  <af:resetActionListener/>
                </af:commandButton>
              </af:panelHorizontal>
            </af:panelForm>
          </af:panelGroup>
        </af:page>
      </h:form>
    </afh:body>
  </afh:html>
</f:view>
<%-- oracle-jdev-comment:auto-binding-backing-bean-name:backing_app_nuevoTipoCurso--%>